Platform Explorer / Nuxeo Platform 2021.7

Component org.nuxeo.ecm.platform.content.template.service.ContentTemplateService.defaultContrib

Resolution Order

308
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.

Contributions

XML Source

<?xml version="1.0"?>
<component
  name="org.nuxeo.ecm.platform.content.template.service.ContentTemplateService.defaultContrib">

  <extension
    target="org.nuxeo.ecm.platform.content.template.service.ContentTemplateService"
    point="factory">

    <contentFactory name="SimpleTemplateFactory"
      class="org.nuxeo.ecm.platform.content.template.factories.SimpleTemplateBasedFactory" />

    <contentFactory name="SimpleTemplateRootFactory"
      class="org.nuxeo.ecm.platform.content.template.factories.SimpleTemplateBasedRootFactory" />

    <contentFactory name="ImportFactory"
      class="org.nuxeo.ecm.platform.content.template.factories.ImportBasedFactory" />
  </extension>

  <extension
    target="org.nuxeo.ecm.platform.content.template.service.ContentTemplateService"
    point="factoryBinding">

    <factoryBinding name="RootFactory" factoryName="SimpleTemplateRootFactory"
      targetType="Root">
      <acl>
        <ace principal="Administrator" permission="Everything" granted="true" />
        <ace principal="members" permission="Read" granted="true" />
      </acl>
      <template>
        <templateItem typeName="Domain" id="default-domain" title="Domain" />
      </template>
    </factoryBinding>

    <factoryBinding name="DomainFactory" factoryName="SimpleTemplateFactory"
      targetType="Domain">
      <template>
        <templateItem typeName="WorkspaceRoot" id="workspaces"
          title="Workspaces" />
        <templateItem typeName="SectionRoot" id="sections" title="Sections" />
        <templateItem typeName="TemplateRoot" id="templates" title="Templates" />
      </template>
    </factoryBinding>

    <factoryBinding name="SectionRootFactory" factoryName="SimpleTemplateFactory"
      targetType="SectionRoot">
      <acl>
        <ace principal="members" permission="CanAskForPublishing" granted="true" />
      </acl>
    </factoryBinding>

  </extension>

</component>